efinet: add structures for PXE messages
authorMichael Chang <mchang@suse.com>
Tue, 25 Apr 2023 15:05:16 +0000 (11:05 -0400)
committerJulian Andres Klode <jak@debian.org>
Sun, 2 Nov 2025 11:08:11 +0000 (12:08 +0100)
commit7b3be7601dac74fcd3585b879bb2c1f8f947c326
tree250cce5773e0318ba839bee0a0c48481183f0f32
parent35a8bcd7da4a73aee87957b9114bd7dedcaeb200
efinet: add structures for PXE messages

When grub2 image is booted from UEFI IPv6 PXE, the DHCPv6 Reply packet
is cached in firmware buffer which can be obtained by PXE Base Code
protocol.  The network interface can be setup through the parameters in
that obtained packet.

Augment existing structures to represent this, and make them agnostic
between ipv4 and ipv6.

Signed-off-by: Michael Chang <mchang@suse.com>
Signed-off-by: Ken Lin <ken.lin@hpe.com>
Co-authored-by: Robbie Harwood <rharwood@redhat.com>
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
Gbp-Pq: Topic network
Gbp-Pq: Name efinet-add-structures-for-PXE-messages.patch
grub-core/net/drivers/efi/efinet.c
include/grub/efi/api.h